package com.dyna.foundation.domain.bo;

import com.dyna.foundation.domain.bo.po.SysRolePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("用户信息")
public class UserInfoBo {

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像", example = "https://www.iocoder.cn/xx.jpg")
    private String avatar;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("用户角色")
    private List<SysRolePo> roleList;

}
